package com.example.demo810.napi;

import com.example.demo810.cfg.IgnoreSecurity;
import com.example.demo810.vo.AjaxResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lzh
 * @date 2020/8/11 - 17:17
 */
@RestController
@RequestMapping("/v3")
@Api(tags = "测试")
public class NewTestController {

    @GetMapping("/new")
    @ApiOperation("new测试")
    @IgnoreSecurity(name = "忽略token校验")
    public AjaxResponse<Void> test1() {
        return AjaxResponse.successMsg("v3测试接口,访问成功!");
    }


}
